home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / gigo0714.zip / USERS.CFG < prev    next >
Text File  |  1996-01-14  |  13KB  |  275 lines

  1.  
  2. ;  
  3. KEEPUNKNOWN       ; Same as defining both KEEPUNKNOWNUSERS and KEEPUNKNOWNSITES
  4. KEEPUNKNOWNUSERS  ; Keeps messages to users on the LOCAL system that are not explicity defined
  5. KEEPUNKNOWNSITES  ; Keeps messages to other systems that are not yet defined, 
  6.                   ; so that you can manually forward/bounce/etc via netmail
  7.  
  8.  
  9.  
  10. ;  MAPSTYLE - Mapping style for default outbound email.  Gigo supports
  11. ;  practically any style of generating addresses now, as it is completely
  12. ;  definable by you, the admin.
  13.  
  14. ;  If the message is being launched from the gateway itself, then no
  15. ;  "othersite" should be evident in the outbound headers.  See "SITE local"
  16. ;  command below.
  17.  
  18. ;  EDIT THIS TO MATCH __YOUR__ SITE
  19. ;
  20. ;  *user   translates to the current user.name
  21. ;  *site   translates to the current SITE parameter
  22. ;  *mysite translates to the current MYSITE variable
  23. ;  *domain translates to the current DOMAIN variable
  24. ;  *myfeed translates to the current MYFEED variable
  25. ;  *fnz    translates to .f##.n##.z## (ie, *user@*fnz.fidonet.org)
  26. ;  *ftn    translates to ##-##-##-## (may have fewer #'s; this
  27. ;           variable is an alternative to *fnz, using fewer periods
  28. ;           and (usually) a shorter string.  The number of ##'s will
  29. ;           vary from 1 to 4 (ie, 203-7707 is enough to say net 203,
  30. ;           node 7707, in my zone).
  31. ;
  32. ;
  33. ;  You MUST define MAPSTYLELOCAL and MAPSTYLESITE; MAPSTYLEUNDEF is optional,
  34. ;  and defaults to a standard fidonet style address.
  35. ;
  36. ;  You may use any of the above variables; most importantly, *user
  37. ;  and *site.  Anything else can be filled in by you with specific
  38. ;  text, and may use the above variables if you wish.
  39.  
  40. MAPSTYLELOCAL     *user@*mysite.*domain         ; Used with SITE LOCAL statements
  41. MAPSTYLESITE      *user@*site.*mysite.*domain   ; Used with other SITE statements
  42. MAPSTYLEUNDEF     *user@*fnz.*mysite.*domain    ; Used when no SITE statement or bounced site
  43.  
  44. ; Other examples:
  45. ; MAPSTYLELOCAL   *user@gigo.com
  46. ; MAPSTYLESITE    *user@*site.gigo.com
  47. ; MAPSTYLESITE    *user@*fnz.gigo.com
  48. ;
  49. ; MAPSTYLELOCAL   *user@*mysite.*domain
  50. ; MAPSTYLESITE    *user%*site@*mysite.*domain
  51. ; MAPSTYLESITE    *user%*ftn@*mysite.*domain
  52. ;
  53. ; MAPSTYLELOCAL   *mysite!*user@*domain
  54. ; MAPSTYLESITE    *mysite!*site!*user@*domain
  55. ; MAPSTYLESITE    *mysite!*ftn!*user@*domain
  56. ;
  57. ; MAPSTYLELOCAL  vogon1!frackit!mdtn_bbs!*user@psuvax.psu.edu
  58. ; MAPSTYLESITE   vogon1!frackit!mdtn_bbs!*site!*user@psuvax.psu.edu
  59.  
  60.  
  61.  
  62.  
  63. ; Here's the guts of the name and account translations done by the gateway.
  64. ; There are _several_ different ways of handling USER and SITE statements;
  65. ; my attempts at expressing documentation are poor, so instead we will have
  66. ; examples of everything.
  67.  
  68. ; Remember that this example config file is for "swizzle.com".
  69.  
  70. ; Individual  accounts on your system are specified, with
  71. ; who their owner is and what their fidonet address is.
  72. ; They will appear as  "account@swizzle.com"
  73.  
  74. USER richard.bollar     1:125/110       Richard Bollar
  75. USER bollar             1:125/110       Richard Bollar
  76. USER root               1:125/110       Richard Bollar
  77. USER postmaster         1:125/110       Richard Bollar
  78. USER sysop              1:125/110       Richard Bollar
  79. USER d.j.hannah         1:125/110       D.J. Hannah
  80.  
  81. ; The following two examples are where the person does not exist on your
  82. ; BBS or gateway, but instead somewhere else.  You need to specify the
  83. ; entire address, __even_if_you_have_a_SITE_for_them_!.  GIGO takes the
  84. ; USER statements as priority over SITE statements.
  85.  
  86. USER jdoe@somebbs.swizzle.com    1:125/1234.0  John Doe
  87.  
  88. ; If someone starts abusing the gateawy, you can block them out.
  89. ; Note that the "bounce" statement is on the left hand side this time.
  90. ; When the gateway tries to create this user's email address, it will see
  91. ; that their account says "bounce", and will send them back a nasty-gram(tm).
  92.  
  93. USER bounce    1:2/3.4       User Name
  94. USER bounce    1:203/7707.1  Twit
  95.  
  96. ; GIGO has a built-in mail-daemon that can perform various functions,
  97. ; such as send back a text file when triggered, or bounce mail back
  98. ; to the sender, or even forward the mail from one address to another.
  99.  
  100. USER info@swizzle.com  INFO  infofile.txt  ; Sends INFOFILE.TXT whenever
  101.                                            ; someone sends email to
  102.                                            ; info@swizzle.com
  103. USER dead2@swizzle.com BOUNCE              ; Bounces with generic message
  104. USER dead@swizzle.com  BOUNCE deaduser.txt ; Bounces the message back
  105.                                            ; with the "deaduser.txt" file
  106. SITE deadbbs           BOUNCE deadbbs.txt  ; Bounces messages to all users
  107.                                            ; @deadbbs.swizzle.com, and
  108.                                            ; sends the "deadbbs.txt" file
  109. USER jfesler FORWARD jfesler@gigo.com      ; Forwards to the real address
  110.  
  111.  
  112. ;  If you wish to capture the messages to a specific address, and have them
  113. ;  saved to a text file (or appended to a log file), you can use the USER
  114. ;  statements as such..
  115.  
  116. USER  incoming   SAVETEXT C:\incoming\   ; Saves as C:\incoming\*.in
  117. USER  logme      LOGTEXT  incoming.log   ; Appends to incoming.log
  118.  
  119.  
  120. ;  If you are willing to make your own hacks, interfacing with GIGO is easy.
  121. ;  GIGO supports function requests triggered upon email to a given user.
  122. ;  GIGO saves the entire message as FUNCTION.REQ, and runs your program
  123. ;  or batch file.  Upon return, if a file called FUNCTION.REP exists,
  124. ;  it will be sent back to the party to sent you the email.
  125. ;  Samples:
  126. ;     USER  dir          FUNCTION dir c:\*.* /s >function.rep
  127. ;     USER  listserv     FUNCTION listserv.exe
  128. ;     USER  gigo-request FUNCTION listserv.exe s gigo
  129. ;     USER  kaboing      FUNCTION copy function.req function.rep
  130.  
  131.  
  132.  
  133. ; The mail-daemon can even attempt to catch fidonet-style names
  134. ; and give them email addresses.  For example, if someone sends a message
  135. ; to "Sysop" at your gateway's address, you can have it sent to
  136. ; your main account instead.
  137.  
  138. ; (My appologies to M.Butler for stealing this verb's name from FredGate)
  139. ; The usage may/may not be the same as FredGate's; since I don't have
  140. ; FredGate, I don't know for sure.
  141.  
  142. ; *******NOTE:  THIS ONLY AFFECTS FIDONET->USENET MAIL!!!!**********
  143.  
  144. ; Format:   MAPUF  internet-account  Real Name
  145. ;
  146. ; The internet account _must_ be the _full_ internet account name, even
  147. ; if it is going to your own gateway.
  148.  
  149. MAPUF  root@swizzle.com             Sysop  ; Mail sent to "sysop" is forward to root@swizzle.com
  150. MAPUF  jfesler@wmeonlin.sacbbx.com  Jason Fesler ; Mail sent to "Jason Fesler" is forwarded to..
  151. MAPUF  bugs@wmeonlin.sacbbx.com     Bugs
  152. MAPUF  jfesler@wmeonlin.sacbbx.com  Author
  153.  
  154. ; Ever get twits sending areafix messages to the gateway?  Try this..
  155.  
  156. MAPUF  areafix@swizzle.com          Areafix       ; Turns it to a valid address
  157. USER   areafix@swizzle.com  BOUNCE  wrongadr.txt  ; and then the daemon can catch
  158.                                                   ; it, and send the user back a
  159.  
  160. ;  Some mail packers will pack file attach messages from Arcmail to the
  161. ;  gateway.  While I don't have a way to stop this from happening, you
  162. ;  _can_ add these into your config:
  163.  
  164. USER  arcmail foward null ; Any bounced messages back to Arcmail are disposed of.
  165.  
  166.  
  167. ; Whew!  That's a lot you can do with mostly USER statements!
  168.  
  169. ; Now, you've got this great gateway program setup, and you'd like to
  170. ; allow some/most/everyone access to using the gateway.  However, you
  171. ; don't feel like manually putting everybody in... That gets to be VERY
  172. ; tedious.
  173.  
  174. ; The SITE statements allow you to handle entire BBS's at a time,
  175. ; by defining them as a feed off of you (at least, as far as the internet
  176. ; is concerned).  Or, it will allow you to generate the "standard"
  177. ; fidonet style addresses (for example, jason.fesler@f7707.n203.z1.fidonet.org)
  178. ; Alternately, you can deny access for specific sites altogether.
  179. ;
  180. ; Most important, you have to tell the gateway what YOUR address(s) are.
  181. ; T